package com.openbravo.pos.instance;

import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;

public class InstanceQuery
{
  private AppMessage m_appstub;

  public InstanceQuery()
    throws RemoteException, NotBoundException
  {
    Registry localRegistry = LocateRegistry.getRegistry();
    this.m_appstub = ((AppMessage)localRegistry.lookup("AppMessage"));
  }

  public AppMessage getAppMessage()
  {
    return this.m_appstub;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.instance.InstanceQuery
 * JD-Core Version:    0.6.0
 */